package com.tkjt.pms.modules.datainitail.thread;

import com.tkjt.pms.modules.datainitail.service.TkDataInitialService;

public class DataInitialThread implements Runnable {
    private TkDataInitialService tkDataInitialService;

    private String weight;

    private String target;

    private String relax;

    private String radio;

    private String grade;

    public DataInitialThread(TkDataInitialService tkDataInitialService, String weight, String target, String relax, String radio, String grade) {
        this.tkDataInitialService = tkDataInitialService;
        this.weight = weight;
        this.target = target;
        this.relax = relax;
        this.radio = radio;
        this.grade = grade;

    }
    @Override
    public void run() {
        tkDataInitialService.initialData(weight,target,relax,radio,grade);
    }
}
